<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<style>
#sch_id_main {
	width: 800px;
	height: 570px;
	font-family: 'Nanum Gothic', sans-serif;
	padding-top:50px;
}

#sch_id_top {
	width: 800px;
	color: white;
	background-color: #c5203b;
	height: 40px;
	line-height: 40px;
	vertical-align: bottom;
	font-size: 25px;
	font-weight: bold;
}

#sch_id_center {
	width: 800px;
	height: 165px;
	padding-top: 15px;
}

#sch_id_left {
	width: 600px;
	height: 165px;
	float: left;
	text-align: right;
}

#sch_id_right {
	width: 200px;
	height: 165px;
	float: right;
}

#sch_id_bottom {
	width: 800px;
	height: 80px;
	text-align: center;
}

#sch_id_bottom2 {
	width: 800px;
	height: 50px;
	background-color: #160952;
}

#sch_id_ans,#sch_id_Q,#sch_id_em {
	width: 600px;
	height: 55px;
	font-size: 16px;
	font-weight: bold;
	
}

.sch_id_left input {
	width: 350px;
	height: 35px;
	font-size: 22px;
	line-height: 35px;
	vertical-align: middle;
	font-family: 'Nanum Gothic', sans-serif;
}

.sch_id_left select {
	width: 356px;
	height: 35px;
	font-size: 20px;
	line-height: 35px;
	vertical-align: middle;
	font-family: 'Nanum Gothic', sans-serif;
}

.sch_id_bottom input {
	width: 120px;
	height: 60px;
	color: white;
	font-size: 20px;
	font-weight: bold;
	background-color: #C90000;
	border: 0.5px solid white;
	border-radius: 10px;
}

#btn_schid_search{
	background-image: url('../images/search.png');
	background-size:100% 100%;
}

#btn_schid_cnl{
	background-image: url('../images/cancel.png');
	background-size:100% 100%;
}
</style>
<script>
	function writeCheck() {
		var form = document.writeform;

		if (!form.email.value) {
			alert("이메일을 입력하세요");
			form.email.focus();
			return;
		}
		if (!form.answer.value) {
			alert("질문의 답을 입력하세요");
			form.answer.focus();
			return;
		}

		form.submit();
	}
</script>
</head>
<body>
	<form name=writeform method=post
		action="Main.jsp?inc_content=../login/search_id_result.jsp">
		<div id='sch_id_main'>
			<div id='sch_id_top'>Find Your ID</div>
			<div id='sch_id_center'>
				<div id='sch_id_left' class='sch_id_left'>
					<div id='sch_id_em'>
						이메일　<input type='text' name='email'>
					</div>

					<div id='sch_id_Q'>

						질문　<select name="question" size="1">
							<option value="출신 초등학교는?">출신 초등학교는?
							<option value="아버지의 이름은?">아버지의 이름은?
							<option value="가장 기억나는 장소는?">가장 기억나는 장소는?
							<option value="좋아하는 장소는?">좋아하는 장소는?
							<option value="좋아하는 음식?">좋아하는 음식?
							<option value="가장 싫어하는 것은?">가장 싫어하는 것은?
							<option value="가장 친한 친구이름은?">가장 친한 친구이름은?
						</select>
					</div>

					<div id='sch_id_ans'>
						답　<input type='text' name='answer'>
					</div>

				</div>

				<div id='sch_id_right'></div>
			</div>
			<div id='sch_id_bottom' class='sch_id_bottom'>
				<input type='button' id='btn_schid_search' value='' onclick="writeCheck();"> <input
					type='button' name='Cen' id='btn_schid_cnl' value='' onclick="location.href='Main.jsp'">
			</div>
			<div id='sch_id_bottom2'></div>
		</div>
	</form>
</body>
</html>